package com.kingyun.gpsinspection.purificationservice.dao.mapper.som;


import com.kingyun.gpsinspection.purificationservice.facade.model.som.AdmittanceAppr;

import java.util.Map;

public interface AdmittanceApprMapper {
    int deleteByPrimaryKey(String apprId);

    int insert(AdmittanceAppr record);

    int insertSelective(AdmittanceAppr record);

    AdmittanceAppr selectByPrimaryKey(String apprId);

    int updateByPrimaryKeySelective(AdmittanceAppr record);

    int updateByPrimaryKey(AdmittanceAppr record);

    /**
     * 查询审批信息
     * @param map
     * @return
     */
    AdmittanceAppr queryByIdAndStatus(Map map);
}